
#include <gtest/gtest.h>
#include "../rtmp_server.h"

TEST(RtmpServer, NewConnection)
{
    RtmpServer server;
    server.RunRtmpServer();
}

int main(int argc, char * argv[])
{
    
    testing::InitGoogleTest();
    LogModuleConfig config;
    config.m_log_level = "trace";
    config.m_file_name = argv[0];
    LogModule::Instance()->InitModule(config);
    return RUN_ALL_TESTS();
}
